import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import 'normalize.css'
import './reset.css'
import 'vant/es/toast/style'
// 样式全局使用
import 'vant/lib/index.css'
import { NavBar } from 'vant'
import { Form, Field, CellGroup, Button } from 'vant'
import { Tabbar, TabbarItem, Icon, Toast, Popup } from 'vant'

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(NavBar)
app.use(Form)
app.use(Field)
app.use(CellGroup)
app.use(Button)
app.use(Tabbar)
app.use(TabbarItem)
app.use(Icon)
app.use(Toast)
app.use(Popup)

app.mount('#app')
